package com.bootdo.wx.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.wx.dao.GoodsLiveDao;
import com.bootdo.wx.domain.GoodsLiveDO;
import com.bootdo.wx.service.GoodsLiveService;



@Service
public class GoodsLiveServiceImpl implements GoodsLiveService {
	@Autowired
	private GoodsLiveDao goodsLiveDao;
	
	@Override
	public GoodsLiveDO get(String id){
		return goodsLiveDao.get(id);
	}
	
	@Override
	public List<GoodsLiveDO> list(Map<String, Object> map){
		return goodsLiveDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return goodsLiveDao.count(map);
	}
	
	@Override
	public int save(GoodsLiveDO goodsLive){
		return goodsLiveDao.save(goodsLive);
	}
	
	@Override
	public int update(GoodsLiveDO goodsLive){
		return goodsLiveDao.update(goodsLive);
	}
	
	@Override
	public int remove(String id){
		return goodsLiveDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return goodsLiveDao.batchRemove(ids);
	}

    @Override
    public List<GoodsLiveDO> likeList(Map<String, Object> map){
        return goodsLiveDao.likeList(map);
    }
	
}
